<script lang="ts">

</script>

<template>
  <a href="https://zt.ykt.eduyun.cn/ykt/yktyxjd/yxsjjy/jd/03Jinggangshan.htm" class="card">
    <img src="https://s-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/download_1681801886379.jpg"  alt="图片加载失败" width="20%" height="auto" />
    <div class="card-content">
      <h3 class="card-title">全国青少年井冈山革命传统教育基地</h3>
      <h3 class="kong">  </h3>
      <div class="card-info">
        <span class="card-source">作者： 智慧职教</span>
        <span class="card-views">播放数： 3012</span>
        <span class="card-likes">点赞数： 701</span>
      </div>
    </div>
  </a>
  <a href="https://zt.ykt.eduyun.cn/ykt/yktyxjd/yxsjjy/yd03/yd_jingmen.htm" class="card">
    <img src="https://s-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/%E7%A0%94%E5%AD%A6%E5%AE%9E%E8%B7%B5-%E5%8F%B32_1681802016340.jpg"  alt="图片加载失败" width="20%" height="auto" />
    <div class="card-content">
      <h3 class="card-title">荆门市示范性综合实践基地</h3>
      <h3 class="kong">  </h3>
      <div class="card-info">
        <span class="card-source">作者： 智慧职教</span>
        <span class="card-views">播放数： 2971</span>
        <span class="card-likes">点赞数： 607</span>
      </div>
    </div>
  </a>
  <a href="https://zt.ykt.eduyun.cn/ykt/yktyxjd/yxsjjy/yd03/yd_baotou.htm" class="card">
    <img src="https://s-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/%E7%A0%94%E5%AD%A6%E5%AE%9E%E8%B7%B5-%E5%8F%B33_1681802083623.jpg"  alt="图片加载失败" width="20%" height="auto" />
    <div class="card-content">
      <h3 class="card-title">包头市中小学社会综合实践教育中心</h3>
      <h3 class="kong">  </h3>
      <div class="card-info">
        <span class="card-source">作者： 智慧职教</span>
        <span class="card-views">播放数： 2103</span>
        <span class="card-likes">点赞数： 405</span>
      </div>
    </div>
  </a>
</template>

<style scoped>
.card {
  display: flex;
  border: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  color: black;
}

.card-img {
  width: 150px;
  height: auto;
  object-fit: cover;
}

.card-content {
  padding: 16px;
  flex: 1;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px;
}

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
}
.kong {
  height: 70%;
}
</style>